#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

# -- Create paraview file
paraFoam -builtin -touch

# -- Create the mesh for the fluid
runApplication blockMesh

# -- decompose the case
runApplication decomposePar

# -- Add internal patch
runParallel addEmptyPatch internalPatch internal -overwrite

#- Run the calc
runParallel $(getApplication)

#------------------------------------------------------------------------------
